def outer(fn):
    def inner():
        print("我的爱好是:", end=" ")
        return fn()  # fn()==swim() ===> 相当于将 i like swimming~~~~~ 放到了这一行

    return inner


@outer
def swim():
    return "i like swimming~~~~~"


love = swim()  # 将这两句话返回到这里: 我的爱好是: + i like swimming~~~~~
print(love)

# print(123,end="\n")
# print("hello")
